package Day2;

import java.util.Scanner;

/**
 * @Author kalista
 * @Description
 * @Date 2020/11/4  10:28
 **/
public class 键盘输入和输出 {
    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入你的名字:");
        String name = scanner.nextLine();
        System.out.println("请输入你的爱好:");
        String favor = scanner.nextLine();
        System.out.println("请输入你的年龄:");
        int age = scanner.nextInt();
        System.out.println("##################");
        System.out.println(name);
        System.out.println(favor);
        System.out.println("来到地球的天数:" +  age * 365);


    }
}
